package com.gin.soul.dao;

import com.gin.soul.pojo.EdgeEsEnterprisePersonAttrDO;
import com.gin.soul.pojo.EdgeEsEnterprisePersonBO;
import com.gin.soul.pojo.EdgeEsEnterprisePersonDO;
import org.nebula.contrib.ngbatis.proxy.NebulaDaoBasic;

import java.util.List;

/**
 * 注意: ngbatis通过 .xml来进行注入,
 * 所以 .xml 需要放在同一个目录下
 *
 * <p>
 * 持久层 边:企业->股东
 * <p/>
 *
 * @author gin
 */
public interface EdgeEntPersonRepository extends NebulaDaoBasic<EdgeEsEnterprisePersonAttrDO, String> {

    /**
     * GO 路径查询
     */
    List<EdgeEsEnterprisePersonDO> queryEdgeByGoEdgeEntPerson(String companyCreditCode, Long steps);

    /**
     * MATCH 匹配
     */
    List<EdgeEsEnterprisePersonDO> queryEdgeByMatchEdgeEntPerson(String companyCreditCode, Long steps);

    /**
     * MATCH 匹配
     */
    List<EdgeEsEnterprisePersonBO> queryEdgeByEdgeEntPerson(String companyCreditCode, Long steps);

}
